import request from "@/utils/request.js";


export function listBrd(){
    return  request({
        url: '/webshop/brandInfo/listByConeAll',
        method: 'get',
    })
}
export function listBrdByCone(id){
    return  request({
        url: '/webshop/brandInfo/listByCone/'+id,
        method: 'get',
    })
}
export function listBrandInfo(queryParams){
    return  request({
        url: '/webshop/brandInfo/listForPage',
        method: 'get',
        params: queryParams
    })
}
export function getBrandInfo(id){
    return request({
        url: '/webshop/brandInfo/' + id,
        method: 'get',
    })
}

export function updateBrandInfo(form){
    return request({
        url: '/webshop/brandInfo',
        method: 'put',
        data: form
    })
}
export function addBrandInfo(form){
    return request({
        url: '/webshop/brandInfo',
        method: 'post',
        data: form
    })
}
export function delBrandInfo(ids){
   return  request({
    url: '/webshop/brandInfo/' + ids,
    method: 'delete'
})
}

